<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.org/rich"
	template="../include/template.xhtml">
	
	<ui:define name="pageTitle">
		<h:outputText value="项目" />
	</ui:define>
	<ui:define name="logoTitle">
		<h:outputText value="项目" />
	</ui:define>	
	
	<ui:define name="content">
		<style type="text/css">
<!--
.inputClass {
	border: 1px solid #6699CC;
	width: 300px;
	margin-left: 4px;
}
-->
</style>
		<link type="text/css" rel="stylesheet" href="../css/global.css" />
		<br />
		<h:graphicImage value="../images/provider.bmp"></h:graphicImage>
		<h:outputText value="正在建设中..." class="strong"></h:outputText>
		<rich:separator lineType="double" height="2px" />
		<rich:spacer width="30px"></rich:spacer>
		<s:div styleClass="right_center">
			
					thanks 4 your attention!
			
		</s:div>

		<s:div styleClass="right_center">
			<h:form id="loginForm">
				<h:panelGrid columns="3" style="margin-left:20px">
					<s:div style="width:500px;">
						<h:outputText value="用户登陆"></h:outputText>
						<br />
						<rich:separator lineType="dotted" height="2px" />
						<h:panelGrid columns="2">
							<s:div style="width:26px;"></s:div>
							<h:outputLabel value="Email:" for="email"></h:outputLabel>
							<br />
							<h:inputText id="email" value="#{identity.username}"
								class="input1"></h:inputText>
							<br />
							<h:outputLabel value="密码:" for="password"></h:outputLabel>
							<br />
							<h:inputSecret id="password" value="#{identity.password}"
								class="input1"></h:inputSecret>
						</h:panelGrid>
						<h:messages class="redAlert" />
						<rich:spacer height="6px" />
						<rich:separator lineType="dotted" height="2px" />
						<rich:spacer height="4px" />
						<br />
						<a:commandButton value="登陆" action="#{authenticator.login}"
							styleClass="gbutton" reRender="loginForm" />
					</s:div>
					<s:div>
						<s:span styleClass="stringBlue">还不是affectu会员？</s:span>
						<center><br />
						<s:link value="立即加入!" view="/passport/register.xhtml"></s:link>
						注册快速而且免费哦!</center>
					</s:div>
				</h:panelGrid>
			</h:form>
		</s:div>
	</ui:define>
</ui:composition>
